package com.zhuanzhuan.hero.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuanzhuan.hero.user.entity.HeroUserInfo;
import com.zhuanzhuan.hero.user.pojo.bo.QueryUserInfoParam;
import com.zhuanzhuan.hero.user.pojo.po.UserPO;

import java.util.List;

/**
 * dal Interface:HeroUserInfo
 * @author hanjunjun
 * @date 2024-6-17
 */
public interface HeroUserInfoMapper extends BaseMapper<HeroUserInfo> {

    List<HeroUserInfo> selectAll();

    List<HeroUserInfo> select(HeroUserInfo record);

    List<UserPO> selectByParam(QueryUserInfoParam param);

    Integer getCount(HeroUserInfo record);

    HeroUserInfo getByPrimaryKey(Long key);

//    Integer insert(HeroUserInfo record);

    Long insertSelective(HeroUserInfo record);

    Integer delete(HeroUserInfo record);

    Integer deleteByPrimaryKey(Long key);

    Integer updateByPrimaryKey(HeroUserInfo record);

}